<%@ page title="" language="C#" masterpagefile="~/RealtimeSite.master" autoeventwireup="true" inherits="Company, App_Web_mlekx3bt" %>


<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    </asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <script type="text/javascript">
        function validate() {
            var txtComname = document.getElementById("<%= txtComname.ClientID %>").value;
            if (txtComname == "") {
                alert("Please Enter Companyname Name");
                document.getElementById("<%= txtComname.ClientID %>").focus();
                return false;
            }
            var txtComaddress = document.getElementById("<%= txtComaddress.ClientID %>").value;
            if (txtComaddress == "") {
                alert("Please Enter Company Address");
                document.getElementById("<%= txtComaddress.ClientID %>").focus();
                return false;
            }

            return true;
        }
        function validate1() {

            var txtComPhone = document.getElementById("<%= txtComPhone.ClientID %>");
            var phoneRegExp = /^((\+)?[1-9]{1,2})?([-\s\.])?((\(\d{1,4}\))|\d{1,4})(([-\s\.])?[0-9]{1,12}){1,2}$/;
            var phoneVal = txtComPhone.value;
            var numbers = phoneVal.split("").length;
            if (10 <= numbers && numbers <= 20 && phoneRegExp.test(phoneVal)) {


            }
            else {
                alert("Please enter a valid Phone No.");
                document.getElementById("<%= txtComPhone.ClientID %>").focus();
                return false;
            }
            return true;
        }
        function validate2() {
            var txtComEmail = document.getElementById("<%= txtComEmail.ClientID %>").value;
            var RegExEmail = /^(?:\w+\.?)*\w+@(?:\w+\.)+\w+$/;
            if (!RegExEmail.test(txtComEmail)) {
                alert("Please Enter Valid E-mail Adress");
                document.getElementById("<%= txtComEmail.ClientID %>").focus();
                return false;
            }
            return true;
        }
  </script>
    
    <style>
    .panel-heading
    {
        background: #ff6d00;
    color: #fff;
    margin: 8px;
    position: relative;
    top: -40px;
    box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(255,152,0,.4);
    border-radius:4px;
    }
    .panel-title
    {
       padding: 6px;
    font-size: 20px;
    }
    .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: .05rem 0rem;
    /* margin-bottom: 1rem; */
    list-style: none;
    background-color: #fff !important;
    border-radius: .25rem;
    color: #E15C11;
    font-size: 18px;
    font-weight: 500;
}
.panel-body span
{
    font-size:13px;
    font-weight:bold;
}
.breadcrumb span
{
    font-size:16px;
}
    </style>
           <br />
    <br />

           <br />
           <div class="main-panel">
              <div id="page-wrapper">
                <div class="container" id="abcs" runat="server">
           <div class="row dash-pane2" style="margin-top:100px !important;">	
					<div class="col-lg-12">
                    <div class="card">
                        <div class="panel">
                            <div class="panel-heading" id="cardheadergreen" runat="server">
                                <h3 class="panel-title" style="color:#fff;"><i class="fa fa-list fa-fw"></i><asp:Label ID="lblCompanyDetails" runat="server" Text="Company Details"></asp:Label></h3>
                            </div>
                            <div class="panel-body grid_height" style="margin-top:-20px" > 
                            <div class="row" style="margin-left:0px; margin-right:0px">
							  <div class="col-md-3">
							    <b><asp:Label ID="lblCompanyName" runat="server" Text="Company Name"></asp:Label> *</b>
							   <%-- <textarea class="form-control" rows="6"></textarea>--%>

                               <asp:TextBox ID="txtComname" runat="server" TabIndex="1" class="form-control"  rows="6"
                ></asp:TextBox>
							  </div>
							  
							  <div class="col-md-3">
							 <b><asp:Label ID="lblAddress" runat="server" Text="Address"></asp:Label> *</b>
							   <%-- <textarea class="form-control" rows="6"></textarea>--%>

                                     
                <asp:TextBox  ID="txtComaddress" runat="server" TabIndex="3" Class="form-control" rows="6"  ></asp:TextBox>

							  </div>
                              <div class="col-md-3">
							     <b> 	 <asp:Label ID="lblEmailId" runat="server" Text=" Email Id "></asp:Label> 
                              </b>
							   <%-- <textarea class="form-control" rows="6"></textarea>--%>
                                <asp:TextBox ID="txtComEmail" runat="server" class="form-control"
                    TabIndex="5"  onchange="validate2();"></asp:TextBox>
                            

							  </div>
                          	<div class="col-md-3">
		                     <asp:Label ID="lblPhoneNo" runat="server" Text=" Phone No"></asp:Label>
							    <%--<input class="form-control" />--%>
                                 <asp:TextBox ID="txtComPhone" runat="server" class="form-control" 
                    onkeypress="return isNumberKey(event)" TabIndex="4"
                    onchange="validate1();"></asp:TextBox>
							  </div>
                              </div>
                                <asp:Panel ID="Panel1" runat="server" Visible="false">
                              
         <div class="col-lg-12" style="margin-top:8px;">
							  <ol class="breadcrumb"><li><b><asp:Label ID="lblAdvancedCompanyDetails" runat="server" Text="Advanced Company Details"></asp:Label></b></li></ol>
							  </div>
            
            
                      <div class="row" style="margin-left:0px; margin-right:0px; margin-top:-10px;">

							  <div class="col-md-2">
						   <asp:Label ID="lblDescription" runat="server" Text="Description"></asp:Label>
						    <asp:TextBox ID="txtComDesc" runat="server" TabIndex="2" class="form-control"></asp:TextBox>
                               
							  </div>
                        
                     
							   <div class="col-md-2">
						   <asp:Label ID="lblVATNo" runat="server" Text="VAT No"></asp:Label>
						 
                                <asp:TextBox ID="txtComvat" runat="server" class="form-control"
                    TabIndex="6" ></asp:TextBox>
							   </div>
                               <div class="col-md-2">
						   <asp:Label ID="lblPFNo" runat="server" Text="PF No"></asp:Label>
						 
                              <asp:TextBox ID="txtComPf" runat="server" class="form-control"
                    TabIndex="7" ></asp:TextBox>
							   </div>

             
                                <div class="col-md-2">
                                   
							       <asp:Label ID="lblTaxNo" runat="server" Text=" Tax No"></asp:Label>
                                <asp:TextBox ID="txtEmpDesignId" runat="server" class="form-control"
                   TabIndex="9" ></asp:TextBox>
							  </div> 	
							  <div class="col-md-2">
							             <asp:Label ID="lblTinNo" runat="server" Text=" Tin No"></asp:Label>
                               <asp:TextBox ID="txtComtan" runat="server" class="form-control"
                    TabIndex="8" ></asp:TextBox>
							  </div>
							  <div class="col-md-2">
							    <asp:Label ID="lblRegistrationNo" runat="server" Text="Registration No"></asp:Label>
							   <%-- <input class="form-control" />--%>
                               <asp:TextBox ID="txtComReg" runat="server" class="form-control"
                    TabIndex="10" ></asp:TextBox>
							  </div>
							  <div class="col-md-2">
							        <asp:Label ID="lblESINo" runat="server" Text="ESI No"></asp:Label>
                               <asp:TextBox ID="txtComEsi" runat="server" class="form-control"
                    TabIndex="11"></asp:TextBox>
							  </div> 
                               <div class="col-md-2">
							 <asp:Label ID="lblPanCardNo" runat="server" Text=" PanCard No"></asp:Label>
							    <%--<input class="form-control" />--%>
                                <asp:TextBox ID="txtComPancard" runat="server" class="form-control"
                    TabIndex="12" ></asp:TextBox>
							  </div> 	
							  <div class="col-md-2">
							   <asp:Label ID="lblPF" runat="server" Text=" PF%"></asp:Label>
                                <asp:TextBox ID="txtpf" runat="server" class="form-control" 
                    TabIndex="8" >0</asp:TextBox>
							  </div>
							  <div class="col-md-2">
							   <asp:Label ID="lblEPF" runat="server" Text="EPF% "></asp:Label>
							    <%--<input class="form-control" />--%>
                                 <asp:TextBox ID="txtfpf" runat="server" class="form-control"
                    TabIndex="9">0</asp:TextBox>
							  </div>
							  <div class="col-md-2">
							    <asp:Label ID="lblPPF" runat="server" Text="PPF%"></asp:Label>
							   <%-- <input class="form-control" />--%>
                               <asp:TextBox ID="txtppf" runat="server" class="form-control"
                    TabIndex="9">0</asp:TextBox>
							  </div> 		
                              
                             
                                <div class="col-md-2">
							   <asp:Label ID="lblESI" runat="server" Text="ESI %"></asp:Label>
							 <%--   <input class="form-control" />--%>
                              <asp:TextBox ID="txtesi" runat="server" class="form-control"
                    TabIndex="8" >0</asp:TextBox>
							  </div> 
                             </div>

    
        
                  <div class="col-lg-12" style="margin-top:8px;">
							  <ol class="breadcrumb"><li><b><asp:Label ID="lblDefineAdditionHeads" runat="server" Text="Define Addition Heads"></asp:Label></b></li></ol>
							  </div>
                              <div class="row" style="margin-left:0px; margin-right:0px; margin-top:-10px;">
                              <div class="col-md-2">
							     <asp:Label ID="lblDefineAdditionHeadsHead1" runat="server" Text="Head1"></asp:Label>
							    <%--<input class="form-control" />--%>
                                 <asp:TextBox 
                 ID="txtadd1" runat="server" 
                  class="form-control" >Basic</asp:TextBox>
							  </div>
							  <div class="col-md-2">
							   <asp:Label ID="lblDefineAdditionHeadsHead2" runat="server" Text=" Head2"></asp:Label>
							   <%-- <input class="form-control" />--%>
                               <asp:TextBox ID="txtadd2" 
                 runat="server" class="form-control" ></asp:TextBox>
							  </div> 	
							  <div class="col-md-2">
							  <asp:Label ID="lblDefineAdditionHeadsHead3" runat="server" Text="Head3"></asp:Label>
							   <%-- <input class="form-control" />--%>
                                 <asp:TextBox ID="txtadd3" 
                 runat="server" class="form-control"  ></asp:TextBox>
							  </div>
							  <div class="col-md-3">
							   <asp:Label ID="lblDefineAdditionHeadsHead4" runat="server" Text="Head4"></asp:Label>
							   <%-- <input class="form-control" />--%>
                                <asp:TextBox ID="txtadd4" 
                 runat="server" class="form-control" ></asp:TextBox>
							  </div>
							  <div class="col-md-3">
							    <asp:Label ID="lblDefineAdditionHeadsHead5" runat="server" Text=" Head5"></asp:Label>
							    <%--<input class="form-control" />--%>
                                <asp:TextBox ID="txtadd5" 
                 runat="server" class="form-control" ></asp:TextBox>
							  </div> 
                              <div class="col-md-2">
							 <asp:Label ID="lblDefineAdditionHeadsHead6" runat="server" Text="Head6"></asp:Label>
							 <%--   <input class="form-control" />--%>
                              <asp:TextBox 
                 ID="txtadd6" runat="server" class="form-control"
                 ></asp:TextBox>
							  </div>
							  <div class="col-md-2">
							 <asp:Label ID="lblDefineAdditionHeadsHead7" runat="server" Text="Head7"></asp:Label>
							   <%-- <input class="form-control" />--%>
                                <asp:TextBox ID="txtadd7" 
                 runat="server" class="form-control"></asp:TextBox>
							  </div> 	
							  <div class="col-md-2">
							 <asp:Label ID="lblDefineAdditionHeadsHead8Fix" runat="server" Text=" Head8 (Fix)"></asp:Label>
							   <%-- <input class="form-control" />--%>
                                 <asp:TextBox ID="txtadd8" 
                 runat="server" class="form-control"></asp:TextBox>
							  </div>
							  <div class="col-md-3">
							 	<asp:Label ID="lblDefineAdditionHeadsHead9Fix" runat="server" Text="Head9(Fix)"></asp:Label>
							   <%-- <input class="form-control" />--%>
                                <asp:TextBox ID="txtadd9" 
                 runat="server" class="form-control"></asp:TextBox>
							  </div>
							  <div class="col-md-3">
							   <asp:Label ID="lblDefineAdditionHeadsHead10Fix" runat="server" Text=" Head10(Fix)"></asp:Label>
							   <%-- <input class="form-control" />--%>
                                <asp:TextBox ID="txtadd10" 
                 runat="server" class="form-control" ></asp:TextBox>
							  </div> 
        
                              </div>
        
        <div class="col-lg-12" style="margin-top:8px;">
							  <ol class="breadcrumb"><li><b> <asp:Label ID="lblFixedDeductionHeads" runat="server" Text="Fixed Deduction Heads"></asp:Label></b></li></ol>
							  </div>
                              <div class="row" style="margin-left:0px; margin-right:0px; margin-top:-10px;">
                                <div class="col-md-2">
							  <asp:Label ID="lblFixedDeductionHeadsHead1" runat="server" Text="Head1"></asp:Label>
							   <%-- <input class="form-control" />--%>
                               <asp:TextBox ID="txtFDed1" runat="server" class="form-control"></asp:TextBox>
							  </div>
							   <div class="col-md-2">
							   <asp:Label ID="lblFixedDeductionHeadsHead2" runat="server" Text="Head2"></asp:Label>
							   <%-- <input class="form-control" />--%>
                               <asp:TextBox ID="txtFDed2" runat="server" class="form-control" ></asp:TextBox>
							   </div>
							    <div class="col-md-2">
							  <asp:Label ID="lblFixedDeductionHeadsHead3" runat="server" Text="Head3"></asp:Label>
							   <%-- <input class="form-control" />--%>
                               <asp:TextBox ID="txtFDed3" runat="server" class="form-control"></asp:TextBox>
							   </div>
                               <div class="col-md-3">
						  <asp:Label ID="lblFixedDeductionHeadsHead4" runat="server" Text="Head4"></asp:Label>
							   <%-- <input class="form-control" />--%>
                               <asp:TextBox ID="txtFDed4" runat="server" class="form-control" ></asp:TextBox>
							   </div>
                               <div class="col-md-3">
						  <asp:Label ID="lblFixedDeductionHeadsHead5" runat="server" Text="Head5"></asp:Label>
							    <%--<input class="form-control" />--%>
                                <asp:TextBox ID="txtFDed5" runat="server" class="form-control">Loan/Advance</asp:TextBox>
							   </div>
                               </div>
        
        <div class="col-lg-12" style="margin-top:8px;">
							  <ol class="breadcrumb"><li><b> <asp:Label ID="lblDefineDeductionHeads" runat="server" Text=" Define Deduction Heads"></asp:Label></b></li></ol>
							  </div>
                              <div class="row" style="margin-left:0px; margin-right:0px; margin-top:-10px">
                                <div class="col-md-2">
							  <asp:Label ID="lblDefineDeductionHeadsHead1" runat="server" Text=" Head1 "></asp:Label>
							   <%-- <input class="form-control" />--%>
                               <asp:TextBox ID="txtsub1" runat="server" class="form-control"></asp:TextBox>
							  </div>
							   <div class="col-md-2">
							    	   <asp:Label ID="lblDefineDeductionHeadsHead2" runat="server" Text="Head2"></asp:Label>
							   <%-- <input class="form-control" />--%>
                                 <asp:TextBox ID="txtsub2" runat="server" class="form-control" ></asp:TextBox>
							   </div>
							    <div class="col-md-2">
						   <asp:Label ID="lblDefineDeductionHeadsHead3" runat="server" Text="Head3"></asp:Label>
							   <%-- <input class="form-control" />--%>
                               <asp:TextBox ID="txtsub3" runat="server" class="form-control"></asp:TextBox>
							   </div>
                                 <div class="col-md-3">
							    <asp:Label ID="lblDefineDeductionHeadsHead4" runat="server" Text="Head4"></asp:Label>
							    <%--<input class="form-control" />--%>
                                 <asp:TextBox ID="txtsub4" runat="server" class="form-control"></asp:TextBox>
							  </div>
							   <div class="col-md-3">
							    <asp:Label ID="lblDefineDeductionHeadsHead5" runat="server" Text="Heads5"></asp:Label>
							   <%-- <input class="form-control" />--%>
                                <asp:TextBox ID="txtsub5" runat="server" class="form-control"></asp:TextBox>
							   </div>
							   </div>
        
    
        
        
         <div class="col-lg-12" style="margin-top:0px; display:none;">
							  <ol><li><asp:CheckBoxList ID="chkuser" runat="server" 
              Visible="False">
          </asp:CheckBoxList></li></ol>
							  </div>
                              
                   </asp:Panel>      
                               
         </div>
             
         <center>
							  <div class="col-lg-12"  style="margin-top:0px; margin-bottom:-20px;">
							  <ol>
								

         <asp:Button ID="cmdsave" runat="server" Text="Save"  OnClick="cmdsave_Click" onclientclick="return validate()"
        type="button" class="btn btn-success " /><i class="fa fa-plus;"></i>
        <asp:Button ID="cmdcancel" runat="server" type="button" Text="Cancel" onclick="cmdcancel_Click" 
           class="btn btn-danger"
           /><i  class="fa fa-trash-o;"></i>



							  </ol>
							  </div>
                            </center>
                           
       </div>
       </div>
       </div>
       </div>
       </div>
        </div>
         </div>
         <script type="text/javascript" src="js/bootstrap-material-design.min.js"></script>
    <script src="js/popper.min.js" type="text/javascript"></script>
    <script src="js/jquery-1.11.2.min.js" type="text/javascript"></script>
    <script src="js/perfect-scrollbar.jquery.min.js" type="text/javascript"></script>
     <script src="js/jquery-1.8.3.min.js"
       type="text/javascript"></script>
</asp:Content>

                                
